package com.qijian.maindata.domain.query;


import com.baomidou.mybatisplus.annotation.TableName;
import com.qijian.common.utils.mybatis.WhereType;
import com.qijian.common.utils.mybatis.WhereTypeEnum;
import lombok.Data;
import lombok.ToString;

import java.util.List;
import java.util.Set;


/**
 * 检验方案-新对象 查询条件类
 *
 * @author qijian
 * @date 2024-02-02
 */

@Data
@ToString
@TableName("main_inspection_scheme")
public class InspectionSchemeQuery {

    @WhereType(filed = "id")
    private Long id;
    @WhereType(filed = "id", type = WhereTypeEnum.IN)
    private Set<Long> ids;
    @WhereType(filed = "scheme_code",type = WhereTypeEnum.LIKE)
    private String schemeCode;
    @WhereType(filed = "scheme_name",type=WhereTypeEnum.LIKE)
    private String schemeName;
    @WhereType(filed = "remark",type = WhereTypeEnum.LIKE)
    private String remark;
    @WhereType(filed = "param_qty")
    private Long paramQty;
    @WhereType(filed = "item_name",type = WhereTypeEnum.LIKE)
    private String itemName;
    @WhereType(filed = "item_code",type = WhereTypeEnum.LIKE)
    private String itemCode;
    @WhereType(filed = "item_id")
    private Long itemId;
    @WhereType(filed = "inspection_type",type = WhereTypeEnum.LIKE)
    private String inspectionType;
    @WhereType(filed = "bom_id")
    private Long bomId;
    @WhereType(filed = "check_type")
    private Long checkType;
    @WhereType(filed = "requirements")
    private String requirements;

    @WhereType(filed = "project_id",type = WhereTypeEnum.IN,tableName = "main_project")
    private List<Long> projectIds;



}
